/*
 * Copyright(C) 2010 Luvina Software Company
 *
 * User.java, Oct 29, 2010 ntmhuong
 */
package net.luvina.manageuser.hibernate;

/**
 *
 *
 * @author Ngo Quang Tinh
 *
 */
public class User implements java.io.Serializable {

    private Integer userId;
    private UserGrp userGrp;
    private String userName;
    private String userEmail;
    private String userTel;

    public User() {
    }

    public User(UserGrp userGrp, String userName, String userEmail,
            String userTel) {
        this.userGrp = userGrp;
        this.userName = userName;
        this.userEmail = userEmail;
        this.userTel = userTel;
    }

    /**
     * @return the userId
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     *            the userId to set
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * @return the userGrp
     */
    public UserGrp getUserGrp() {
        return userGrp;
    }

    /**
     * @param userGrp
     *            the userGrp to set
     */
    public void setUserGrp(UserGrp userGrp) {
        this.userGrp = userGrp;
    }

    /**
     * @return the userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * @param userName
     *            the userName to set
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * @return the userEmail
     */
    public String getUserEmail() {
        return userEmail;
    }

    /**
     * @param userEmail
     *            the userEmail to set
     */
    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    /**
     * @return the userTel
     */
    public String getUserTel() {
        return userTel;
    }

    /**
     * @param userTel
     *            the userTel to set
     */
    public void setUserTel(String userTel) {
        this.userTel = userTel;
    }

}
